Page({

  data: {
    activeKey: 0,
    tools: [
      { name: '导览',
        is_column:true, 
        arr:[
          {text:'校内导览',link:'/fast/pages/map/map'},
          {text:'校外导航',link:'/fast/pages/map/map'}
        ] 
      },

      { name: '查寝',
        is_column:true,
        arr: [
          { text: '拍照签到', link: '/fast/pages/survey/survey?type=photo' },
          { text: '手势签到', link: '/fast/pages/survey/survey?type=gesture' },
          { text: '地点签到', link: '/fast/pages/survey/survey?type=location' },
          { text: '二维码签到', link: '/fast/pages/survey/survey?type=qrcode' }
        ],
      },

      { name: '日历',
        is_column:true,
        arr:[
          {text:'校历', link: '/fast/pages/canlendar/canlendar?type=study'},
          {text:'考试安排', link: '/fast/pages/canlendar/canlendar?type=exam'},
          {text:'放假安排', link: '/fast/pages/canlendar/canlendar?type=holiday'}
        ] 
      },

      {
        name:'专业信息',
        is_column:true,
        arr:[
          {text:'石工',link:'/fast/pages/major/major?major=petroleum',},
          {text:'化工',link:'/fast/pages/major/major?major=chemistry',},
          {text:'智控',link:'/fast/pages/major/major?major=control',},
          {text:'经法',link:'/fast/pages/major/major?major=economy',},
          {text:'教媒',link:'/fast/pages/major/major?major=educate',},
          {text:'数科',link:'/fast/pages/major/major?major=computer',},
          {text:'医护',link:'/fast/pages/major/major?major=medicine',},
        ]
      },
      
      {
        name:'coze',
        is_column:true,
        arr: [
          {text:'test',link:'/fast/pages/ai/ai'}
        ]
      },

    ]
  },
  onChange(event) {
    this.setData({
      activeKey: event.detail
    });
  },
  onLoad(options) {

  },
  onReady() {

  },
  onShow() {

  },
  onHide() {

  },
  onUnload() {

  },
  onPullDownRefresh() {

  },
  onReachBottom() {

  },
  onShareAppMessage() {

  }
})